﻿namespace AnyOffice.Model
{
    using System;

    public class ChatUserData
    {
        private int _lastMessageId = 0;
        private DateTime _lastRefreshTime = DateTime.Now;
        private string _nickName = "";
        private int _perChatId = 0;
        private int _sessionId = 0;
        private string _userId = "";

        public int LastMessageId
        {
            get
            {
                return this._lastMessageId;
            }
            set
            {
                this._lastMessageId = value;
            }
        }

        public DateTime LastRefreshTime
        {
            get
            {
                return this._lastRefreshTime;
            }
            set
            {
                this._lastRefreshTime = value;
            }
        }

        public string NickName
        {
            get
            {
                return this._nickName;
            }
            set
            {
                this._nickName = value;
            }
        }

        public int PerChatId
        {
            get
            {
                return this._perChatId;
            }
            set
            {
                this._perChatId = value;
            }
        }

        public int SessionId
        {
            get
            {
                return this._sessionId;
            }
            set
            {
                this._sessionId = value;
            }
        }

        public string UserId
        {
            get
            {
                return this._userId;
            }
            set
            {
                this._userId = value;
            }
        }
    }
}

